<?xml version="1.0" encoding="UTF-8" ?>
<f:view xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.prime.com.tr/ui">
        <p:dialog 
			id="confirmarAlteracao"
			header="Salvar alterações" 
			widgetVar="dlgConfirmarAlteracao"
			width="250"
			appendToBody="true"
			modal="true"
		>  
		        <p:panel>
		        	<center>Salvar alterações?</center>  
		            	<div style="text-align: right;">
		            		<br/><p:separator /><br/>
			                <p:commandButton ajax="false" action="#{alunoBean.salvar}" value="Sim" oncomplete="dlgConfirmarAlteracao.hide()"/>
			                <p:commandButton type="button" value="Não" onclick="dlgConfirmarAlteracao.hide()"/>
		                </div>
		        </p:panel>
		</p:dialog> 
</f:view>